package com.winshare.saleAssistant.domain.dto.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotNull;

@ApiModel
public class FeedbackReplyDTO {

    @NotNull(message = "主键不可以为空")
    @Range(min = 1, message = "主键为大于或等于1的正整数")
    @ApiModelProperty(value = "主键不可以为空")
    private Integer id;

    @Length(min = 0, max = 200, message = "回复内容长度需要在0-200个字之间")
    @ApiModelProperty(value = "回复内容")
    private String replyMessage;

    public FeedbackReplyDTO() {
    }

    public String getReplyMessage() {
        return replyMessage;
    }

    public void setReplyMessage(String replyMessage) {
        this.replyMessage = replyMessage;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
}
